package per.turtle.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import per.turtle.common.security.annotation.EnableCustomConfig;
import per.turtle.common.core.annotation.EnableTurtleFeignClients;
import per.turtle.common.swagger.annotation.EnableCustomSwagger;

/**
 * 认证授权中心
 *
 * @author turtle
 */
@EnableCustomConfig
@EnableCustomSwagger
@EnableTurtleFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@ComponentScan(basePackages = { "per.turtle" })
public class TurtleAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(TurtleAuthApplication.class, args);
        System.out.println(" \n─=≡Σ((( つ•̀ω•́)つ  认证授权中心启动成功！\n");
    }

}
